
<?php echo $this->fetch('header.php'); ?>
<?php $_from=$this->_var['check_unsafe']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('$attrs[key]', '$attrs[item]');if (count($_from)):
    foreach ($_from AS $this->_var['tip']):
?>
<p class="unsafetip"><?php echo $this->_var['tip']; ?></p>
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();?>

<div class="layout-box">
	<div class='layout-title'>服务器概况</div>
	<div class='layout-body'>
		<ul>
		<li>服务器时间：<?php echo $this->_var['server']['time']; ?></li>
		<li>服务器端口：<?php echo $this->_var['server']['port']; ?></li>
		<li>服务器域名：<a href='./' target="_blank" style="color:#B5D53B;text-decoration:underline"><?php echo $this->_var['server']['name']; ?></a></li>
		<li>服务器版本：<?php echo $this->_var['server']['os']; ?></li>
		<li>服务器引擎：<?php echo $this->_var['server']['software']; ?></li>
		<li>数据库版本：MYSQL <?php echo $this->_var['server']['db_version']; ?></li>
		<li>PHP版本：<?php echo $this->_var['server']['version']; ?></li>
		<li>网站根目录：<?php echo $this->_var['server']['root']; ?></li>
		<li>最大上传值：<?php echo $this->_var['server']['upload']; ?></li>
		<li>全局变量：<?php echo $this->_var['server']['register_globals']; ?></li>
		<li>安全模式：<?php echo $this->_var['server']['safe_mode']; ?></li>
		<li>会话超时：<?php echo $this->_var['server']['timeout']; ?> 分</li>
		<li>占用内存：<?php echo $this->_var['server']['memory_usage']; ?> </li>
		<?php if ($this->_var['server']['disable_functions']): ?>
		<li>禁用函数：<?php echo $this->_var['server']['disable_functions']; ?> </li>
		<?php endif; ?>
		</ul>
	</div>
</div>
<script type="text/javascript">
$(function(){
	$('.unsafetip').each(function(){
		$(this).slideDown();
	});
});
</script>